﻿<Serializable()> _
Public Class SyncItem
    Sub New()

    End Sub
    Sub New(ByVal aName As String, ByVal aOutlookid As String, _
                ByVal aListid As String, ByVal aTaskseriesid As String, _
                ByVal aTaskid As String)
        Name = aName
        OutlookId = aOutlookid
        Listid = aListid
        TaskSeriesId = aTaskseriesid
        TaskId = aTaskid
        SyncedOn = Now.AddSeconds(10)
    End Sub

    Dim _taskseriesid As String
    Public Property TaskSeriesId() As String
        Get
            Return _taskseriesid
        End Get
        Set(ByVal value As String)
            _taskseriesid = value
        End Set
    End Property

    Dim _OutlookId As String
    Public Property OutlookId() As String
        Get
            Return _OutlookId
        End Get
        Set(ByVal value As String)
            _OutlookId = value
        End Set
    End Property

    Dim _taskId As String
    Public Property TaskId() As String
        Get
            Return _taskId
        End Get
        Set(ByVal value As String)
            _taskId = value
        End Set
    End Property

    Dim _listid As String
    Public Property Listid() As String
        Get
            Return _listid
        End Get
        Set(ByVal value As String)
            _listid = value
        End Set
    End Property

    Dim _SyncedOn As DateTime
    Public Property SyncedOn() As DateTime
        Get
            Return _SyncedOn
        End Get
        Set(ByVal value As DateTime)
            _SyncedOn = value
        End Set
    End Property

    Dim _Name As String
    Public Property Name() As String
        Get
            Return _Name
        End Get
        Set(ByVal value As String)
            _Name = value
        End Set
    End Property

    'Dim _shouldSync As Boolean
    'Public Property ShouldSync() As Boolean
    '    Get
    '        Return _shouldSync
    '    End Get
    '    Set(ByVal value As Boolean)
    '        _shouldSync = value
    '    End Set
    'End Property



End Class